package com.tech.tool.mapper;

import com.tech.tool.dataobject.ApiInfo;
import com.tech.tool.sqlProvider.ApiInfoSqlProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

@Mapper
public interface ApiInfoMapper {

    @InsertProvider(type = ApiInfoSqlProvider.class, method = "insertApiInfo")
    @Options(useGeneratedKeys=true, keyColumn="id")
    int insertByObject(ApiInfo apiInfo);

}
